package main

import "fmt"

func main() {
	numbers := []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
	numbers2 := append(numbers, 15)
	for i, v := range numbers2 {
		print(i, v, "  ")
		if i == 5 {
			fmt.Printf("跳出循环了\n")
			break
		}
	}
	fmt.Printf("\n")
	//99乘法表
	for i := 1; i <= 9; i++ {
		for j := 1; j <= i; j++ {
			fmt.Printf("%d*%d=%d\t", i, j, i*j)
		}
		fmt.Println()
	}
}
